<?php
/**
 * Created by PhpStorm.
 * User: fuguang
 * Date: 2018/3/22
 * Time: 下午10:14
 */
?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="white">
    <meta name="apple-mobile-web-app-capable" content="no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <title><?= $this->title ? Yii::$app->name."-".Html::encode($this->title) : Yii::$app->name; ?></title>

    <link rel="stylesheet" type="text/css" href="/js/lvdongfront/style.css" />
    <script src="/js/lvdongfront/zepto.min.js"></script>
    <script src="/js/lvdongfront/touch.js"></script>
</head>
<body id="viewbody">
<header class="header">
    <a href="#"><img src="/js/lvdongfront/images/logo-news.png" class="logo"/></a>
</header>
<div class="wraper" id="detail">
    <h1 id="view-title"></h1>
    <div class="follow" style="display: inline-flex;">
        <img src="/js/lvdongfront/images/portrait.png" class="portrait"/>
        <div class="text">关注<a href="javascript:void(0)" id="wxShow">膜结构</a>，时刻获取币圈新闻</div>
    </div>
    <div class="content"></div>
    <p class="content-end"><i></i>END<i></i></p>
</div>
<div class="thumbs-up">
    <a href="javascript:void(0)">&lsaquo; 返回首页</a>
    <a href="javascript:void(0)" class="finger" id="up">0</a>
</div>
<div class="wxCode" id="wxCode" style="display:none">
    <img src="/js/lvdongfront/images/wx-code.jpg" />
</div>
<script src='/js/lvdongfront/images/detail.js'></script>
<script>
    if( parent.$("#newsflash-title").lenth > 0 ){
        var title = parent.$("#newsflash-title").val();
    }else{
        var title = parent.$("#newsnom-title").val();
    }
    var content=parent.$("#ueditor_0").contents().find("body").html();
    //alert(content);
    $("#view-title").html(title);
    $(".content").html(content);
</script>
</body>
</html>
